#include "Precomp.h"
#include "IGameState.h"
#include "Game.h"

namespace SGF
{
	IGameState::IGameState()
	:game(0)
	{
	}

	IGameState::~IGameState()
	{
	}

	Ogre::SceneManager* IGameState::getSceneManager() const
	{
		return sceneManager;
	}

	void IGameState::setActiveCamera(Ogre::Camera *camera)
	{
		game->getRenderWindow()->getViewport(0)->setCamera(camera);
	}
}